package com.wang.springbootinit;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.EnableAspectJAutoProxy;
import org.springframework.scheduling.annotation.EnableScheduling;

/**
 * 主启动类
 * Spring Boot应用的入口点，负责启动整个应用程序
 *
 * @author [作者名]
 */
@SpringBootApplication
@MapperScan("com.wang.springbootinit.mapper")
@EnableScheduling
@EnableAspectJAutoProxy(proxyTargetClass = true, exposeProxy = true)
public class MainApplication {

    /**
     * 应用程序入口方法
     * 启动Spring Boot应用，初始化Spring容器
     *
     * @param args 命令行参数
     */
    public static void main(String[] args) {
        SpringApplication.run(MainApplication.class, args);
    }

}
